package com.ophiux.utils.parser.json;

import com.ophiux.utils.exception.OphiuxApiException;
import com.ophiux.utils.parser.IConvert;
import com.ophiux.utils.parser.IOphiuxApiWriter;

public class OphiuxApiJsonWriter<T> implements IOphiuxApiWriter<T> {

	@Override
	public String writer(T obj) throws OphiuxApiException {
		IConvert jsonConverter = new JsonConverter();
		return jsonConverter.entityToString(obj);
	}

}
